Skip to content

fix(deps): update rust crate gtk to 0.19 - #168

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/gtk-0.x
Open

fix(deps): update rust crate gtk to 0.19#168
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/gtk-0.x

Conversation

@renovate

@renovate renovate Bot commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
gtk (source) dependencies minor 0.150.19

Release Notes

gtk-rs/gtk3-rs (gtk)

v0.19.0

Features
  • Several new classes and interfaces can now be subclassed:
    • gtk::CellEditable
    • gtk::CellLayout
    • gtk::Editable
    • gtk::Grid
    • gtk::ListStore
    • gtk::Orientable
    • gtk::Scrollable
    • gtk::TreeDragDest
    • gtk::TreeDragSource
    • gtk::TreeModelFilter
    • gtk::TreeModelSort
    • gtk::TreeStore
  • New methods and signals:
    • gtk::MessageDialog::with_markup(), a constructor whose message is
      interpreted as Pango markup
    • gtk::Clipboard::connect_owner_change()
    • gtk::EntryExt::connect_toggle_direction() and
      gtk::EntryExt::emit_toggle_direction()
    • atk::AtkObjectExt::accessible_help_text(),
      set_accessible_help_text(),
      connect_accessible_help_text_notify(), and
      connect_accessible_id_notify()
    • accessible_id() and accessible_help_text() on the builders for
      gtk::HeaderBarAccessible, gtk::PlugAccessible, and
      gtk::SocketAccessible
  • Builders are now generated for gtk::EventControllerKey,
    gtk::EventControllerMotion, gtk::EventControllerScroll,
    gtk::FileChooserWidgetAccessible, gtk::GestureStylus,
    gtk::Settings, and gtk::ShortcutLabel.
  • New feature flags:
    • atk's v2_52 adds atk::AtkObjectExt::help_text(),
      set_help_text(), connect_attribute_changed(), and
      atk::DocumentExt::connect_document_attribute_changed().
    • gtk's gio_v2_80 adds a version() method to
      gtk::Application's builder.
    • gtk's v3_22 enables gtk::FileChooserExtManual::add_choice(),
      which was previously unreachable because no crate defined the
      feature.
  • atk::Role has a new Switch variant.
  • The hand-written *ExtManual and subclass *ImplExt traits are no
    longer sealed with a private sealed::Sealed supertrait, matching
    the generated *Ext traits. They still cannot be implemented
    downstream, as the blanket impls already prevent it. *ImplExt
    traits are now declared as FooImplExt: FooImpl, so their
    parent_*() methods are reached through the blanket impl rather than
    as supertrait methods. Code that uses gtk::subclass::prelude::* is
    unaffected, but code that imports subclassing traits individually
    must also import FooImplExt to call parent_*().
  • Subclassing support for the following have been enhanced:
    • gtk::Container: ContainerImpl can now declare and implement
      child properties:
      • child_properties()
      • child_property()
      • set_child_property()
    • gtk::TreeView: this used to be subclassable, but no vfuncs were
      overridable; now all are.
    • gtk::Widget: WidgetImpl gained overrides for many
      previously-missing vfuncs:
      • can_activate_accel()
      • event()
      • focus()
      • focus_in_event()
      • focus_out_event()
      • grab_broken_event()
      • grab_focus()
      • grab_notify()
      • hide()
      • hierarchy_changed()
      • key_press_event()
      • key_release_event()
      • keynav_failed()
      • map_event()
      • mnemonic_activate()
      • move_focus()
      • parent_set()
      • popup_menu()
      • preferred_height_and_baseline_for_width()
      • property_notify_event()
      • proximity_in_event()
      • proximity_out_event()
      • query_tooltip()
      • queue_draw_region()
      • screen_changed()
      • selection_clear_event()
      • selection_get()
      • selection_notify_event()
      • selection_received()
      • selection_request_event()
      • show()
      • show_all()
      • show_help()
      • state_flags_changed()
      • style_updated()
      • touch_event()
      • unmap_event()
      • visibility_notify_event()
      • WidgetClassSubclassExt::set_accessible_type() and
        WidgetClassSubclassExt::set_accessible_role() allow a subclass
        to declare the accessibility type and role it presents.
      • WidgetClassSubclassExt::enable_baseline_support() opts a
        subclass into baseline support. Subclasses must call this in
        order for WidgetImpl::preferred_height_and_baseline_for_width()
        to be used instead of the non-baseline vfuncs.
Breaking Changes
  • All crates depend on v0.22 of the gtk-rs-core crates. Applications
    using gtk3-rs 0.18 or below must update any references to those
    crates.
  • atk::Role::PushButton is now atk::Role::Button, following the
    rename in ATK itself. The value is unchanged, and atk-sys still
    exports ATK_ROLE_PUSH_BUTTON alongside ATK_ROLE_BUTTON.
  • The LastDefined variants have been removed from atk::RelationType,
    atk::Role, atk::TextAttribute, and atk::ValueType, along with
    the corresponding ATK_*_LAST_DEFINED constants in atk-sys. These
    are sentinels marking the end of the value range, and aren't useful in
    Rust code.
  • Subclasses of gtk::Stack must now implement
    gtk::subclass::prelude::StackImpl. Its IsSubclassable impl was
    bounded on ContainerImpl, so implementing StackImpl was documented
    but not actually enforced.
  • Every subclassing Impl trait now requires the implementing type to
    name the matching class in its glib::wrapper! @extends list. For
    example, ContainerImpl is now declared as `ContainerImpl: WidgetImpl
    • ObjectSubclass<Type: IsA>. A subclass whose @​extends`
      list skips an ancestor still compiled before, but no longer does;
      add the missing types to it.
  • gtk::Application's builder no longer has an action_group() method.
    GIO now marks the action-group property deprecated since 2.32, which
    is below the GIO version gtk3-rs requires, so gir no longer
    generates it. Use the gio::prelude::ActionMapExt methods on the
    built gtk::Application instead.
  • gtk::RecentInfo::added(), gtk::RecentInfo::modified(), and
    gtk::RecentInfo::visited() now return libc::time_t instead of
    libc::c_long, as does the last element of the tuple returned by
    gtk::RecentInfo::application_info(). The two are the same type on
    64-bit Linux and on macOS, but differ on Windows and on 32-bit targets
    with a 64-bit time_t, where the previous signature was wrong.
  • gtk::Widget::can_activate_accel() now takes a SignalId for the
    signal_id argument instead of u32.
  • The closure passed to gtk::Widget::connect_can_activate_accel() now
    takes a SignalId for the signal_id argument instead of a u32.
  • can_activate_accel() and connect_can_activate_accel() have moved
    from gtk::prelude::WidgetExt to gtk::prelude::WidgetExtManual.
    Code using gtk::prelude::* is unaffected, but code that imports
    WidgetExt by name, or that calls either method through it, must be
    updated.
  • gtk::WindowExt::type_() has been removed, because it awkwardly
    conflicts with glib::ObjectExt::type_(). Use
    gtk::WindowExt::window_type() instead.
  • The hand-written MessageDialogExt has been renamed to
    MessageDialogExtManual, and its methods now match the C functions
    they call: set_secondary_markup() is now
    format_secondary_markup(), and set_secondary_text() is now
    format_secondary_text(). It previously shared its name with the
    generated MessageDialogExt while being re-exported as
    gtk::MessageDialogExt instead of through the prelude, so importing
    it silently replaced the generated trait. Both are now in the
    prelude. Note that format_secondary_text() also clears
    secondary-use-markup, which the generated set_secondary_text()
    property setter does not.
  • The opaque class and interface type aliases in atk-sys, gdk-sys,
    and gdkx11-sys are no longer pointers. For example,
    GdkFrameClockClass is now _GdkFrameClockClass rather than *mut _GdkFrameClockClass.
  • gdkx11-sys: the optional cairo feature is gone. cairo-sys is
    now an unconditional dependency, and v3_24_2 no longer enables it.

v0.18.1

Compare Source

  • Fix regression by the switch to glib::Propagation

v0.18.0

Compare Source

What's Changed

New Contributors

Full Changelog: gtk-rs/gtk3-rs@0.17.1...0.18.0

v0.17.1

Compare Source

What's Changed

Full Changelog: gtk-rs/gtk3-rs@0.17.0...0.17.1

v0.17.0

What's Changed

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jan 7, 2024

Copy link
Copy Markdown
Contributor Author

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: src-tauri/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path src-tauri/Cargo.toml --workspace
    Updating crates.io index
    Updating git repository `https://github.com/tauri-apps/fix-path-env-rs`
    Updating git repository `https://github.com/tauri-apps/plugins-workspace`
error: failed to select a version for `gdk-sys`.
    ... required by package `gtk-sys v0.18.0`
    ... which satisfies dependency `ffi = "^0.18"` of package `gtk v0.18.0`
    ... which satisfies dependency `gtk = "^0.18"` of package `phoenix-code-ide v3.7.2 (/tmp/renovate/repos/github/phcode-dev/phoenix-desktop/src-tauri)`
versions that meet the requirements `^0.18` are: 0.18.0

the package `gdk-sys` links to the native library `gdk-3`, but it conflicts with a previous package which links to `gdk-3` as well:
package `gdk-sys v0.15.1`
    ... which satisfies dependency `gdk-sys = "^0.15.0"` of package `webkit2gtk v0.18.2`
    ... which satisfies dependency `webkit2gtk = "^0.18.2"` of package `tauri v1.6.2`
    ... which satisfies dependency `tauri = "^1.6.2"` of package `phoenix-code-ide v3.7.2 (/tmp/renovate/repos/github/phcode-dev/phoenix-desktop/src-tauri)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "gdk-3"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `gdk-sys` which could resolve this conflict

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 436442e to a2d5dd6 Compare February 4, 2024 10:52
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from a2d5dd6 to 9d46367 Compare February 14, 2024 13:10
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 9d46367 to 9c92fcc Compare February 25, 2024 09:20
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 9c92fcc to f36561c Compare May 1, 2024 13:12
@renovate renovate Bot changed the title fix(deps): update rust crate gtk to 0.18 fix(deps): update rust crate gtk to 0.18.1 May 1, 2024
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from f36561c to 5b60cc6 Compare May 5, 2024 09:26
@renovate renovate Bot changed the title fix(deps): update rust crate gtk to 0.18.1 fix(deps): update rust crate gtk to 0.18 May 5, 2024
@renovate

renovate Bot commented May 31, 2024

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: src-tauri/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path src-tauri/Cargo.toml --workspace
    Updating crates.io index
    Updating git repository `https://github.com/tauri-apps/fix-path-env-rs`
From https://github.com/tauri-apps/fix-path-env-rs
 * [new ref]         8481725b7ebfc56cdb052d522517421242eac36b -> refs/commit/8481725b7ebfc56cdb052d522517421242eac36b
    Updating git repository `https://github.com/tauri-apps/plugins-workspace`
From https://github.com/tauri-apps/plugins-workspace
 * [new ref]         184f4edbbcfed8f8c057a15e02318e0ddcaab132 -> refs/commit/184f4edbbcfed8f8c057a15e02318e0ddcaab132
error: failed to select a version for `gdk-sys`.
    ... required by package `webkit2gtk v0.18.0`
    ... which satisfies dependency `webkit2gtk = "^0.18"` of package `phoenix-code-ide v5.2.5 (/tmp/renovate/repos/github/phcode-dev/phoenix-desktop/src-tauri)`
versions that meet the requirements `^0.15.0` are: 0.15.1

package `gdk-sys` links to the native library `gdk-3`, but it conflicts with a previous package which links to `gdk-3` as well:
package `gdk-sys v0.19.0`
    ... which satisfies dependency `gdk-sys = "^0.19.0"` of package `gdk v0.19.0`
    ... which satisfies dependency `gdk = "^0.19.0"` of package `gtk v0.19.0`
    ... which satisfies dependency `gtk = "^0.19"` of package `phoenix-code-ide v5.2.5 (/tmp/renovate/repos/github/phcode-dev/phoenix-desktop/src-tauri)`
note: only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary
for more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links
help: try to adjust your dependencies so that only one package uses the `links = "gdk-3"` value

failed to select a version for `gdk-sys` which could resolve this conflict

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 5b60cc6 to e814c3a Compare May 31, 2024 10:23
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from e814c3a to d95c662 Compare June 15, 2024 09:01
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from d95c662 to 68cbc9e Compare August 28, 2024 09:46
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 68cbc9e to 69a7a22 Compare March 3, 2025 18:07
@sonarqubecloud

sonarqubecloud Bot commented Mar 3, 2025

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 69a7a22 to da298c2 Compare August 10, 2025 13:30
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from da298c2 to 0ec40cd Compare September 25, 2025 21:39
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 0ec40cd to 57b08a9 Compare December 10, 2025 10:38
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 57b08a9 to 51b95eb Compare December 31, 2025 16:13
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 51b95eb to 3e8cb3e Compare February 2, 2026 17:31
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 3e8cb3e to ae38604 Compare February 12, 2026 14:47
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from ae38604 to 2d4cec7 Compare February 25, 2026 11:11
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 2d4cec7 to 2e0c223 Compare March 13, 2026 11:14
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 2e0c223 to 64a9880 Compare May 18, 2026 13:12
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 64a9880 to 4897989 Compare July 21, 2026 03:00
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 4897989 to 7c37d1d Compare August 11, 2026 22:31
@renovate
renovate Bot force-pushed the renovate/gtk-0.x branch from 7c37d1d to eddb1df Compare September 8, 2026 07:36
@renovate renovate Bot changed the title fix(deps): update rust crate gtk to 0.18 fix(deps): update rust crate gtk to 0.19 Sep 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants